const stream = require("stream"); //引用Stream模块
const readable = new stream.Readable();
console.log(readable.isPaused()); //获取流的运行状态，流动
readable.pause() //将流的状态从流动变为非流动
console.log(readable.isPaused());  //获取流的运行状态，暂停
